class LogUtil

  def initialize(path: 'log/trevor-exam-api.log')
    @path = path
    @logger = Logger.new(@path)
  end

  def info(progname = nil, message = nil)
    @logger.info(progname) { "[#{ ThreadLocalUtil.request_id }] #{ message }" }
  end

end